package com.ylr.base.common.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-11 11:01:48
 * className: GroupDto
 * version: 1.0
 * description:
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class GroupDto<T> {

    /**
     * 分组值
     */
    private String key;

    /**
     * 分组名称
     */
    private String name;

    /**
     * 数据列表
     */
    private List<T> list;

}
